An Initial Model for the Monadic Calculus

نویسنده

  • Arthur Nunes-Harwitt
چکیده

When it comes to compiler design, there has been a dispute as to whether it is useful to transform the source code using the continuation passing style (CPS) transform first. Some have observed that it is easier to optimize CPS transformed code, while others maintain that direct style compilation is better. Sabry and Felleisen resolve the dispute by showing how get the benefits of CPS without the CPS transform. They note that it is, indeed, sometimes easier to reason about CPS transformed terms than to reason directly about Λ-terms. They set about determining what axioms would make it just as easy to reason about Λ-terms. Their result is summarized in the following theorem, where λC denotes the computational λ-calculus, and cps(−) denotes the CPS transform. Theorem(SF): λC `M = N iff λβ,eta ` cps(M) = cps(N) Filinski and others have pointed out that the CPS transform can be seen as an instance of the monadic transform. (See table 5 for the monadic transform.) Instantiate f∗ and η as follows to get the CPS transform from the monadic transform: η = λa.λk.(ka), f∗ = λt.λk.(t(λa.((fa)k))). In this paper we generalize Sabry and Felleisen’s result and prove the following theorem. Theorem : λC `M = N iff λM `M = N To prove this theorem, we follow Sabry and Felleisen in our approach. After proving that λC `M = N =⇒ λM `M = N , we define a grammar for monadic terms, and an inverse transform. We show that the inverse transform does, in fact, invert the monadic transform. The result then quickly follows.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Nonlinear Creep-damage Constitutive Model of Mudstone Based on the Fractional Calculus Theory

During the flood development in an oil field, the creep characteristic of mudstone is one of the important factors causing casing damage. In this study, based on the theory of fractional order differential and taking into account the creep damage evolution rules, a fractional nonlinear creep-damage model is proposed to reflect the instantaneous deformation in loading processes and the accelerat...

متن کامل

Complexity of Monadic inf-datalog. Application to temporal logic

In [] we defined Inf-Datalog and characterized the fragments of Monadic inf-Datalog that have the same expressive power as Modal Logic (resp. CTL, alternation-free Modal μ-calculus and Modal μ-calculus). We study here the time and space complexity of evaluation of Monadic inf-Datalog programs on finite models. We deduce a new unified proof that model checking has 1. linear data and program comp...

متن کامل

Relating Levels of the Mu-Calculus Hierarchy and Levels of the Monadic Hierarchy

As already known [14], the mu-calculus [17] is as expressive as the bisimulation invariant fragment of monadic second order Logic (MSO). In this paper, we relate the expressiveness of levels of the fixpoint alternation depth hierarchy of the mu-calculus (the mu-calculus hierarchy) with the expressiveness of the bisimulation invariant fragment of levels of the monadic quantifiers alternation-dep...

متن کامل

On the Expressiveness of Monadic Higher Order Safe Ambient Calculus

In this paper, we propose a monadic higher order safe ambient calculus. The expressiveness of this calculus is studied. We showed that polyadic higher order safe ambient calculus, first order safe ambient calculus with capability-passing, first order safe ambient calculus with name-passing, and polyadic π-calculus can all be encoded in monadic higher order ambient calculus. At last, we show tha...

متن کامل

On the Decidability of Continuous Time Speci cationFormalismsA

We consider an interpretation of monadic second-order logic of order in the continuous time structure of nitely variable signals and show the decidability of monadic logic in this structure. The expressive power of monadic logic is illustrated by providing a straightforward meaning preserving translation into monadic logic of three typical continuous time speciication formalism: Temporal Logic ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2002